<!-- <page-header-wrapper [title]="'充值记录'">
</page-header-wrapper> -->

<!-- <nz-card>
    <nz-row [nzGutter]="16">
        <nz-col [nzXl]="7" [nzLg]="8" [nzSm]="12">
            <nz-statistic nzValue="100 笔" [nzTitle]="'累计充值订单数'"
                [nzValueStyle]="{'font-size':'21px'}">
            </nz-statistic>
        </nz-col>
        <nz-col [nzXl]="7" [nzLg]="8" [nzSm]="12">
            <nz-statistic nzValue="80000.00 元" [nzTitle]="'累计充值金额'" [nzValueStyle]="{'font-size':'21px'}">
            </nz-statistic>
        </nz-col>
    </nz-row>
</nz-card> -->

<!-- <nz-card class="search-box" nzBordered>
    <div nz-row nzGutter="8">
        <div nz-col [nzXl]="_$expand ? 24 : 18" [nzLg]="24" [nzSm]="24" [nzXs]="24">
            <sf #sf [schema]="searchSchema"
                [ui]="{ '*': { spanLabelFixed: 110,grid: { lg: 8, md: 12, sm: 12, xs: 24 } }}" [compact]="true"
                [button]="'none'"></sf>
        </div>
        <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
            class="text-right">
            <button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
            <button nz-button (click)="resetSF()">重置</button>
            <button nz-button (click)="exportList()"> 导出</button>
            <button nz-button nzType="link" (click)="expandToggle()">
                {{ !_$expand ? '展开' : '收起' }}
                <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
            </button>
        </div>
    </div>
</nz-card> -->

<nz-card class="table-box">
    <div class="header_box">
        <label class="page_title"> <label class="driver">|</label> 充值记录</label>
        <div class="mr-sm">
            <button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()">筛选</button>
            <button nz-button nzDanger (click)="exportList()" acl [acl-ability]="['FINANCIAL-RECHARGE-export']">
                导出</button>
        </div>
    </div>
    <st #st [data]="service.$api_get_recharge_page" [columns]="columns" [req]="{ process: beforeReq }" [page]="{}"
        [loading]="false" [scroll]="{ x:'1200px',y:scrollY }">
        <ng-template st-row="transferBankAccount" let-item let-index="index" let-column="column">
            {{ item.transferBankOpenName }} <br> {{ item.transferBankCardNumber }}
        </ng-template>
    </st>
</nz-card>

<ng-template #remarkodal>
    <div nz-row>
        <div nz-col nzSpan="24" se-container [labelWidth]="80">
            <se [col]="1" label="备注">
                <textarea nz-input rows="3" [(ngModel)]="rechargeRemark" placeholder="最多不能超过100字"
                    maxlength="100"></textarea>
            </se>
        </div>
    </div>
</ng-template>